﻿<%@ Page Title="" Language="C#" MasterPageFile="../MasterPages/MedianamikModalWindow.Master" AutoEventWireup="true" CodeBehind="AddCultureWindow.aspx.cs" Inherits="Medianamik.UI.Web.ModalWindows.AddCultureWindow" %>

<asp:Content ContentPlaceHolderID="HeaderContentHolder" runat="server">
<telerik:RadScriptBlock runat="server" ID="scriptBlock">
	<script type="text/javascript">
        //<![CDATA[
        function GetRadWindow()
        {
            var oWindow = null;
            if (window.radWindow) oWindow = window.radWindow;
            else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
            return oWindow;
        }

        function Cancel_Clicked()
        {
            var oWindow = GetRadWindow();
            oWindow.argument = null;
            oWindow.Close();
        }

        function closeWindow() 
        {
            var arg = new Object();
            var oWindow = GetRadWindow();
            oWindow.Close(arg);
        }
        //]]>            
	</script>
	</telerik:RadScriptBlock>
	<style type="text/css">
	    #ModalBody
	    {
	        margin-right:12px;
	    }
	</style>
</asp:Content>

<asp:Content runat="server" ContentPlaceHolderID="CenterContent">
    <asp:ScriptManager ID="MedianamikScriptManager" EnableHistory="true" EnablePageMethods="true" runat="server"  EnablePartialRendering="true" ScriptMode="Release" />
    <fieldset>
        <asp:Label runat="server" AssociatedControlID="CultureName" Text="<%$ Resources : Medianamik_ConfigurationManagement, Language %>" />
        <asp:DropDownList ID="CultureName" runat="server" />
    </fieldset>
    <p style="margin-top:1em;">
        <asp:CheckBox ID="ContentManagementActive" runat="server" Checked="true" />
        <asp:Label AssociatedControlID="ContentManagementActive" runat="server">&nbsp;<%= Resources("Medianamik_ConfigurationManagement", "ActiveFor") %>&nbsp;<%= Resources("Medianamik_ConfigurationManagement", "ContentManagementActive") %></asp:Label><br />
        <asp:CheckBox ID="MedianamikActive" runat="server" Checked="true" />
        <asp:Label AssociatedControlID="MedianamikActive" runat="server">&nbsp;<%= Resources("Medianamik_ConfigurationManagement", "ActiveFor").Replace(" la", string.Empty) %>&nbsp;<%= Resources("Medianamik_ConfigurationManagement", "MedianamikActive") %></asp:Label>
    </p>
    <p style="margin-top:1em;">
        <asp:Button ID="AddButton" runat="server" OnClick="Add" Text="<%$ Resources : Medianamik_Global, Add %>" CssClass="Btn" />&nbsp;
        <input type="button" class="Btn" value="<%=Resources("Medianamik_Global", "Cancel") %>" onclick="Cancel_Clicked();" />
    </p>
    
</asp:Content>